<!--
  描述：员工档案table页
  @author tanghongjun
  @since 2020-05-14 10:48:18
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<!--表格id与lay-filter属性一致，统一定义为zmn-table-->
<table class="layui-hide" id="zmn-table" lay-filter="zmn-table" th:fragment="table">
    <thead >
        <tr>
            <!--规定复选框列置于第1列，居中显示-->
            <th lay-data="{field:'archivesId',type:'checkbox', width:50, unresize:true, align:'center', fixed:'left'}"></th>

                            <th lay-data="{field:'archivesId', unresize:true, align:'center'}">档案ID</th>
                            <th lay-data="{field:'staffId', unresize:true, align:'center'}">员工ID</th>
                            <th lay-data="{field:'idCardNumber', unresize:true, align:'center'}">身份证号码</th>
                            <th lay-data="{field:'idCardAdress', unresize:true, align:'center'}">身份证地址</th>
                            <th lay-data="{field:'idCardValidityTime', unresize:true, align:'center'}">证件有效期</th>
                            <th lay-data="{field:'idCardValidityType', unresize:true, align:'center'}">证件有效期类型：1.有时限，2.长期</th>
                            <th lay-data="{field:'residenceType', unresize:true, align:'center'}">户籍类型1.本地城镇，2.本地农村, 3.外地城镇（省内）4.外地农村（省内）, 5.外地城镇（省外）,6.外地农村（省外）</th>
                            <th lay-data="{field:'registeredPermanentResidence', unresize:true, align:'center'}">户籍所在地</th>
                            <th lay-data="{field:'provinceId', unresize:true, align:'center'}">省份ID</th>
                            <th lay-data="{field:'cityId', unresize:true, align:'center'}">城市ID</th>
                            <th lay-data="{field:'countryId', unresize:true, align:'center'}">区县ID</th>
                            <th lay-data="{field:'address', unresize:true, align:'center'}">家庭详细地址</th>
                            <th lay-data="{field:'birthday', unresize:true, align:'center'}">出生日期</th>
                            <th lay-data="{field:'sextype', unresize:true, align:'center'}">性别：1.男，2.女</th>
                            <th lay-data="{field:'nationtype', unresize:true, align:'center'}">民族</th>
                            <th lay-data="{field:'idcardImgSrc', unresize:true, align:'center'}">身份证地址（正面）</th>
                            <th lay-data="{field:'idcardImgSrc2', unresize:true, align:'center'}">身份证地址（背面）</th>
                            <th lay-data="{field:'idcardImgSrc3', unresize:true, align:'center'}">个人形象照片</th>
                            <th lay-data="{field:'bankName', unresize:true, align:'center'}">开户行信息</th>
                            <th lay-data="{field:'bankAccountName', unresize:true, align:'center'}">银行户名</th>
                            <th lay-data="{field:'bankCardNoVarchar', unresize:true, align:'center'}">银行卡号</th>
                            <th lay-data="{field:'haveSocialSecurity', unresize:true, align:'center'}">是否办理社保：1.否，2.是</th>
                            <th lay-data="{field:'socialSecurityNumber', unresize:true, align:'center'}">社保号</th>
                            <th lay-data="{field:'socialSecurityStartTime', unresize:true, align:'center'}">参保时间</th>
                            <th lay-data="{field:'socialSecurityStopTime', unresize:true, align:'center'}">停保时间</th>
                            <th lay-data="{field:'socialSecurityStopReason', unresize:true, align:'center'}">停保原因</th>
                            <th lay-data="{field:'highestEdu', unresize:true, align:'center'}">最高学历：1.小学，2.初中，3.高中，4.中专，5.大专，6.本科，7.硕士，8.博士，9.其他</th>
                            <th lay-data="{field:'recruitment', unresize:true, align:'center'}">是否统招：1.否，2.是</th>
                            <th lay-data="{field:'graduateSchool', unresize:true, align:'center'}">毕业院校</th>
                            <th lay-data="{field:'graduationTime', unresize:true, align:'center'}">毕业时间</th>
                            <th lay-data="{field:'major', unresize:true, align:'center'}">所学专业</th>
                            <th lay-data="{field:'age', unresize:true, align:'center'}">年龄</th>
                            <th lay-data="{field:'zipCode', unresize:true, align:'center'}">邮编</th>
                            <th lay-data="{field:'marriageStatus', unresize:true, align:'center'}">婚姻状况：1.未婚，2.已婚，3.离异，4.丧偶，5.分居</th>
                            <th lay-data="{field:'healthyStatus', unresize:true, align:'center'}">健康状况</th>
                            <th lay-data="{field:'politicalStatus', unresize:true, align:'center'}">政治面貌：1.团员，2.党员，3.群众，4.其他</th>
                            <th lay-data="{field:'professionalTitle', unresize:true, align:'center'}">专业职称</th>
                            <th lay-data="{field:'joinWorkingTime', unresize:true, align:'center'}">首次参加工作时间</th>
                            <th lay-data="{field:'englishLevel', unresize:true, align:'center'}">英语等级：1.有时限，2.长期</th>
                            <th lay-data="{field:'height', unresize:true, align:'center'}">身高</th>
                            <th lay-data="{field:'driverLicenseLevel', unresize:true, align:'center'}">驾照等级</th>
                            <th lay-data="{field:'weight', unresize:true, align:'center'}">体重</th>
                            <th lay-data="{field:'hobbiesSpecialties', unresize:true, align:'center'}">个人爱好及特长</th>
                            <th lay-data="{field:'creater', unresize:true, align:'center'}">创建人</th>
                            <th lay-data="{field:'updater', unresize:true, align:'center'}">操作人</th>
                            <th lay-data="{field:'createTime', unresize:true, align:'center'}">创建时间</th>
                            <th lay-data="{field:'updateTime', unresize:true, align:'center'}">操作时间</th>
                        <!--规定操作列置于最后-->
            <th lay-data="{field:'操作', width:140, unresize:true, align:'center', fixed:'right'}">操作</th>
            <!--其他规范
                值较大的数字列居右显示，并使用千分号；值较小的数字列可居中显示，
                金额列统一居右显示，默认精确到小数点后2位，并使用千分号，
                通常情况下，时间或日期列靠后放置(操作列前)，居中显示
                -->
        </tr>
    </thead>
    <tbody>
        <tr th:each="item:${items}">
            <td ></td>
                            <td th:text="${item.archivesId}">archivesId</td>
                            <td th:text="${item.staffId}">staffId</td>
                            <td th:text="${item.idCardNumber}">idCardNumber</td>
                            <td th:text="${item.idCardAdress}">idCardAdress</td>
                            <td th:text="${item.idCardValidityTime}">idCardValidityTime</td>
                            <td th:text="${item.idCardValidityType}">idCardValidityType</td>
                            <td th:text="${item.residenceType}">residenceType</td>
                            <td th:text="${item.registeredPermanentResidence}">registeredPermanentResidence</td>
                            <td th:text="${item.provinceId}">provinceId</td>
                            <td th:text="${item.cityId}">cityId</td>
                            <td th:text="${item.countryId}">countryId</td>
                            <td th:text="${item.address}">address</td>
                            <td th:text="${item.birthday}">birthday</td>
                            <td th:text="${item.sextype}">sextype</td>
                            <td th:text="${item.nationtype}">nationtype</td>
                            <td th:text="${item.idcardImgSrc}">idcardImgSrc</td>
                            <td th:text="${item.idcardImgSrc2}">idcardImgSrc2</td>
                            <td th:text="${item.idcardImgSrc3}">idcardImgSrc3</td>
                            <td th:text="${item.bankName}">bankName</td>
                            <td th:text="${item.bankAccountName}">bankAccountName</td>
                            <td th:text="${item.bankCardNoVarchar}">bankCardNoVarchar</td>
                            <td th:text="${item.haveSocialSecurity}">haveSocialSecurity</td>
                            <td th:text="${item.socialSecurityNumber}">socialSecurityNumber</td>
                            <td th:text="${item.socialSecurityStartTime}">socialSecurityStartTime</td>
                            <td th:text="${item.socialSecurityStopTime}">socialSecurityStopTime</td>
                            <td th:text="${item.socialSecurityStopReason}">socialSecurityStopReason</td>
                            <td th:text="${item.highestEdu}">highestEdu</td>
                            <td th:text="${item.recruitment}">recruitment</td>
                            <td th:text="${item.graduateSchool}">graduateSchool</td>
                            <td th:text="${item.graduationTime}">graduationTime</td>
                            <td th:text="${item.major}">major</td>
                            <td th:text="${item.age}">age</td>
                            <td th:text="${item.zipCode}">zipCode</td>
                            <td th:text="${item.marriageStatus}">marriageStatus</td>
                            <td th:text="${item.healthyStatus}">healthyStatus</td>
                            <td th:text="${item.politicalStatus}">politicalStatus</td>
                            <td th:text="${item.professionalTitle}">professionalTitle</td>
                            <td th:text="${item.joinWorkingTime}">joinWorkingTime</td>
                            <td th:text="${item.englishLevel}">englishLevel</td>
                            <td th:text="${item.height}">height</td>
                            <td th:text="${item.driverLicenseLevel}">driverLicenseLevel</td>
                            <td th:text="${item.weight}">weight</td>
                            <td th:text="${item.hobbiesSpecialties}">hobbiesSpecialties</td>
                            <td th:text="${item.creater}">creater</td>
                            <td th:text="${item.updater}">updater</td>
                            <td th:text="${item.createTime}">createTime</td>
                            <td th:text="${item.updateTime}">updateTime</td>
                        <td>
                <div>
                    <a th:if="${#authPermit.checkPermit('/staff/staffarchives/addEditView.action')}" style="color: #00a0e9"
                       th:lay-href="|/staff/staffarchives/addEditView.action?${column.pkAttrname}=${item.${column.pkAttrname}}"
                       lay-text="修改"  text="修改">修改</a>&nbsp;&nbsp;
                </div>
            </td>
        </tr>
    </tbody>
</table>
